//package com.dkts.oil.web.controller;
//import com.dkts.oil.service.impl.OilImportInfoServiceImpl;
//import com.dkts.oil.web.vo.request.OilImportRequest;
//import com.dkts.oil.web.vo.request.OilWatermportRequest;
//import com.dkts.oil.web.vo.request.OilWayImportRequest;
//import com.dkts.oil.web.vo.response.Result;
//import io.swagger.v3.oas.annotations.Operation;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.*;
//
///**
// * <p>
// * 前端控制器
// * </p>
// *
// * @author heguanglong
// * @since 2025-01-07
// */
//@RestController
//@RequestMapping("/oil/import")
//@Tag(name = "油管选址导入模块", description = "油管选址")
//@Slf4j
//public class OilObstacleImportInfoController {
//
//    @Autowired
//    private OilImportInfoServiceImpl importInfoService;
//
//    @Operation(description = "基础数据")
//    @PostMapping
//    public Result importInfo(@Validated @RequestBody OilImportRequest request) throws Exception {
//        return Result.success(importInfoService.importInfo(request));
//    }
//
//    @Operation(description = "建筑物")
//    @PostMapping("/build")
//    public Result importInfoBuild(@Validated @RequestBody OilImportRequest request) throws Exception {
//        return Result.success(importInfoService.importInfoBuild(request));
//    }
//
//    @Operation(description = "路网区域")
//    @PostMapping("/road")
//    public Result importInfoRoad(@Validated @RequestBody OilImportRequest request) throws Exception {
//        return Result.success(importInfoService.importInfoRoad(request,-101));
//    }
//
//    @Operation(description = "铁路区域")
//    @PostMapping("/way/road")
//    public Result wayRoad(@Validated @RequestBody OilWayImportRequest request) throws Exception {
//        return Result.success(importInfoService.wayRoad(request));
//    }
//
//    @Operation(description = "水区域")
//    @PostMapping("/water")
//    public Result water(@Validated @RequestBody OilWatermportRequest request) throws Exception {
//        return Result.success(importInfoService.water(request));
//    }
//
//
//}
